package com.wyt.spark.clickhouse.bean;

import lombok.Data;

import java.util.List;

/**
 * @ClassName FreemarkCreateTableBean
 * @Description: freemark模板创建clickhouse建表语句的请求封装bean
 * @Author wangyongtao
 * @Date 2021/6/28 10:15
 * @Version 1.0
 **/
@Data
public class FreemarkCreateTableBean {
    public String dbName;
    public String tableName;
    //除分区字段外所有字段列表
    public List<ColumnInfo> columnList;
    //分区字段列表
    public List<ColumnInfo> partitionList;
    //分区字段名，多个以逗号连接 @TODO 多分区字段是否加括号括起来有待验证
    public String partition;

}


